﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MINERP.MODEL.DigitalModel
{
    /// <summary>
    /// 分配打印机的照片结构
    /// </summary>
    public class DistriPhoto_Info
    {
        public int PhotoID { get; set; }
        public string PhotoBarCode { get; set; }
        public string PaperTypeName { get; set; }
        public string PaperFaceName { get; set; }
        public string ShopName { get; set; }
        public string CtmName { get; set; }
        public string PhotoSize { get; set; }
        public int PhotoDPI { get; set; }
        public int OrderBagID { get; set; }
        public string OrderBarCode { get; set; }
        public string OrderName { get; set; }
        public int OrderPriority { get; set; }                  //加急级别
        public int OrderProductID { get; set; }                 //订单产品ID
        public string OrderProductCode { get; set; }
        public string OrderProductName { get; set; }
        public DateTime OrderTime { get; set; }
        public DateTime FetchTime { get; set; }
    }
    public class STDistributePhoto
    {
        public int PhotoID;
        public string PhotoCode;
        public int Status;
        public int PrinterID;
        public int PhotoDPI;
        public string PaperFace;
        public int OrderProductID;
        public double Height;
        public double Width;
        public int OrderPriority;
        /// <summary>
        /// true 按打印机DPI分配； false按照片本身尺寸分配
        /// </summary>
        public bool DistributeType;     //
        /// <summary>
        /// 打印机DPI，主要用于有预分配打印机的情况
        /// </summary>
        public int PrinterDPI;              
    }
    public class PhotoInfoSame
    {
        public int PhotoId;
        public int OrderProductId;
        public string PhotoBarCode;
        public string photoName;
        public double Height;
        public double Width;
        public int PixWidth;
        public int PixHeight;
        public int PaperTypeID;
        public int PaperFaceId;
        public string PicPath;
        public string OldPicPath;
        public string Remark;
        public int IsModifySize;
        public int PrinterId;
        public int Status;
        public int TotalNum;
        public int MakeUpNum;
        public int UserId;
    }
}
